package com.ruoyi.nongjt.service;

import com.ruoyi.nongjt.domain.NjtUserRegister;
import com.ruoyi.nongjt.domain.User;

import java.util.List;

public interface NjtUserRegisterService {
    List<NjtUserRegister> getNjtUserRegisterList(NjtUserRegister njtUserRegister);

    int updateNjtUserRegister(NjtUserRegister njtUserRegister);

    int deleteNjtUserRegisterById(Integer userId);


    boolean register(User user);

    User login(String phone, String password);

    User findByPhone(String phone);

    int deleteNjtUserRegisterByIds(Long[] userIds);
}
